// part1:C06:ex6.25.cpp
// contat stirngs.
#include <cstdlib>
#include <iostream>

int main(int argc, char **argv) {
  using namespace std;
  string str;
  if (argc < 2) {
    cerr << "no argc!" << endl;
    exit(EXIT_FAILURE);
  }

  for (int i = 1; i != argc; ++i) {
    str += argv[i]; 
  }
  cout << str << endl;

  return 0;
}
